package com.seedeer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cache.annotation.EnableCaching;

/**
 * BBC Supplier Admin - Spring Boot Application
 *
 * @author yifeng.li
 **/
@EnableCaching
@SpringBootApplication
@MapperScan("com.seedeer.project.mapper")
public class BbcApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(BbcApplication.class)
                .bannerMode(Banner.Mode.OFF)
                .web(WebApplicationType.SERVLET)
                .run(args);
    }
}